package com.qpf.spring.cloud.web.admin.service.hystrix;

import com.qpf.spring.cloud.web.admin.service.DemoService;
import com.qpf.spring.cloud.commons.CommonHystrix;
import org.springframework.stereotype.Component;

@Component
public class DemoServiceHystrix implements DemoService {
    @Override
    public String demo(String message) {
        return CommonHystrix.commonHystrix();
    }

    @Override
    public String users() {
        return CommonHystrix.commonHystrix();
    }
}
